package com.yuyou.tas.report.mapper;

import com.yuyou.tas.report.entity.ExamModelBlock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExamModelBlockMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExamModelBlock record);

    ExamModelBlock selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExamModelBlock record);

    int deleteByExamModelId(@Param(value = "examModelId") Long examModelId);

    List<ExamModelBlock> findBlockByExamModelId(@Param(value = "examModelId") Long examModelId);
}